package com.hyacinth.forumbite.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 模板类
 */
@Data
@Schema(description = "模板实体类")
@Accessors(chain = true)
public class Board {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "版块名")
    private String name;

    @Schema(description = "帖子数量")
    private Integer articleCount;

    @Schema(description = "排序优先级 升序")
    private Integer sort;

    @Schema(description = "状态 0正常，1禁用")
    private Byte state;

    @Schema(description = "是否删除，0否，1是")
    private Byte deleteState;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}